<script>
	export default {
		onLaunch: function() {
			// console.log('App Launch')
			// // 检查登录状态
			// const isLogin = uni.getStorageSync('isLogin')
			// if (!isLogin) {
			// 	uni.reLaunch({
			// 		url: '/pages/login/index'
			// 	})
			// }
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/* 全局样式 */
	page {
		--status-bar-height: 0px;
		background-color: #f5f5f5;
		font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
			Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei',
			sans-serif;
	}

	/* 去除按钮默认边框 */
	button {
		padding: 0;
		margin: 0;
		border: none;
		background: none;
	}

	button::after {
		border: none;
	}
</style>
